package pattern.responsibility.example1.impl;

import pattern.responsibility.example1.Document;
import pattern.responsibility.example1.Format;

public class ChangeColor implements Format {
	public Document doFormat(Document m) {
		System.out.println("Trying ChangeColor algorithm");
		Document r = new Document(new double[] { 3.3, 4.4 }); // Dummy
		// data
		r.setSuccessful(false);
		return r;
	}
}
